package com.jycrm.domain.attachment;

public class CrmAttachment extends AbstractCrmAttachment{
	public CrmAttachment(){
		
	}
	public CrmAttachment(Long id){
		super(id);
	}
	private String compactids;
	public String getCompactids() {
		if(getCompactId()!=null){
			return getCompactId().getId().toString();
		}else{
			return "";
		}
	}
	public void setCompactids(String compactids) {
		this.compactids = compactids;
	}
	private String compactname;
	public String getCompactname() {
		if(getCompactId()!=null){
			return getCompactId().getCompactNo();
		}else{
			return "";
		}
	}
	public void setCompactname(String compactname) {
		this.compactname = compactname;
	}
}

